/*
 * @Descripttion: 
 * @Author: 银河以北
 * @Date: 2023-05-22 15:10:43
 * @LastEditors: 银河以北
 * @LastEditTime: 2023-05-22 15:11:14
 */
/*
 * @Descripttion: 
 * @Author: 银河以北
 * @Date: 2023-05-12 15:35:20
 * @LastEditors: 银河以北
 * @LastEditTime: 2023-05-12 17:28:07
 */
// 引入vue router
import { createRouter, createWebHistory } from 'vue-router'

// 路由配置
const routes = [{
    path: '/',
    name: 'home',
    meta: {
        title: "codeimg"
    },
    component: () => import('@/views/home.vue')
}, {
    path: '/about',
    name: 'about',
    meta: {
        title: "关于"
    },
    component: () => import('@/views/about.vue')
}]
// 创建 vueRouter 实例
const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router